package cn.com.klun.tjy.common.basePojo;

import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractApiController extends AbstractBaseController {
    protected Logger logger = LoggerFactory.getLogger("AbstractApiController");
    protected String SUCCESS = "success";
    protected String ERROR = "error";

    public AbstractApiController() {
    }

    public boolean ajaxJsonMessage(HttpServletResponse response, String info) {
        return this.ajax(response, info, "text/html");
    }
}